package com.note.dto;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

/**
 * pv
 *  统计dto
 */
@ApiModel("网站统计信息")
public class PvDTO {


    @ApiModelProperty(value = "未登录的曲线统计信息")
    private List<Statistics> noLoginList;

    @ApiModelProperty(value = "登录的曲线统计信息")
    private List<Statistics> loginList;

    @ApiModelProperty(value = "系统总用户数")
    private Integer allUserNum;

    public Integer getAllUserNum() {
        return allUserNum;
    }

    public void setAllUserNum(Integer allUserNum) {
        this.allUserNum = allUserNum;
    }

    public List<Statistics> getNoLoginList() {
        return noLoginList;
    }

    public void setNoLoginList(List<Statistics> noLoginList) {
        this.noLoginList = noLoginList;
    }

    public List<Statistics> getLoginList() {
        return loginList;
    }

    public void setLoginList(List<Statistics> loginList) {
        this.loginList = loginList;
    }

    public static class Statistics{
        @ApiModelProperty(value = "统计的日期")
        private String datePv;

        @ApiModelProperty(value = "对应的数量")
        private Long num;

        public String getDatePv() {
            return datePv;
        }

        public void setDatePv(String datePv) {
            this.datePv = datePv;
        }


        public Long getNum() {
            return num;
        }

        public void setNum(Long num) {
            this.num = num;
        }
    }


}
